import { L_request } from './request.js'


/**
 *
 * @param {
 * acc:string
 * pwd:string
 * } data
 */
export function GetUser() {


    return L_request({
        url: 'admin/Usermanage/getUser',
    })
}

export function changeState(data) {
    return L_request({
        url: 'admin/Usermanage/changeState',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

export function closeEdit(data) {
    return L_request({
        url: 'admin/Usermanage/edit',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}
export function search(data) {
    return L_request({
        url: 'admin/Usermanage/searchUser',
        method: 'post',
        data,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}
